﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

public class RemotePlayer : MonoBehaviour
{
    internal void UpdateData(UnityExample.Common.UpdatePacket.Event e)
    {
        transform.position = new Vector3(e.Position.X, e.Position.Y, e.Position.Z);
        transform.rotation = new Quaternion(e.Rotation.X, e.Rotation.Y, e.Rotation.Z, e.Rotation.W);
    }
}
